package com.wyg.ep_mail.common;

import org.springframework.beans.factory.InitializingBean;
import org.springframework.stereotype.Component;

/**
 * @Author: WangYongGan
 * @Date: 2022/5/17 2:21
 * @Description:
 */
@Component
public class BaseConstant implements InitializingBean {
    public static boolean linux;

    @Override
    public void afterPropertiesSet() throws Exception {
        if (System.getProperty("os.name").contains("inux"))
            linux = true;
    }
}
